var express = require('express');
var router = express.Router();

var {Wcxmodel}  = require('../model/wcx')

router.get('/wcx',async(req,res)=>{
  const wcxdata = await Wcxmodel.find()
  res.send({
    code:200,
    msg:"请求成功",
    wcxdata
  }) 
})

module.exports = router